import { v4 as uuidv4 } from "uuid";

export const getUuid = () => {
  return uuidv4();
};
export const getUuidString = () => {
  return uuidv4().replace(/-/g, "");
};

export const generateModuleId = () => {
  return getUuidString().replace(/\D/g, "").slice(0, 18);
};
